<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ResultDTO</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
<link href="../style.css" rel="stylesheet" />
</head>
<body onload="PR.prettyPrint()">
<pre class="prettyprint lang-java">
public class ResultDTO implements Serializable{

    private boolean success; //
    private AccidentMessageVO data; //
    private int code; //
    private String message; //

    public boolean getSuccess(){
        return success;
    }

    public void setSuccess(boolean success){
        this.success = success;
    }

    public AccidentMessageVO getData(){
        return data;
    }

    public void setData(AccidentMessageVO data){
        this.data = data;
    }

    public int getCode(){
        return code;
    }

    public void setCode(int code){
        this.code = code;
    }

    public String getMessage(){
        return message;
    }

    public void setMessage(String message){
        this.message = message;
    }

}
</pre>


<pre class="prettyprint lang-java">
public class AccidentMessageVO implements Serializable{

    private long id; //id
    private long companyId; //多租户id
    private String accidentNo; //事故编号
    private String accidentName; //事故名称
    private String position; //事故发生地点
    private String happenTime; //事故发生时间
    private long departmentId; //事故责任单位/部门id
    private String briefHistory; //事故发生简要经过
    private String personSituation; //事故人员伤亡情况
    private String onSiteTreatment; //现场处理情况
    private String measuresTaken; //已采取的措施
    private String annexUrls; //附件url，多个url用逗号分隔
    private int reviewStatus; //审核状态: 0待提交，1待审核，2审核通过，3审核驳回
    private int handleStatus; //处理状态：0待调查处理 1已调查处理
    private String createTime; //登记时间
    private long creator; //登记人id
    private String departmentName; //部门名称
    private String creatorName; //申报人姓名
    private String reviewStatusStr; //审核状态（导出）
    private String handleStatusStr; //处理状态（导出）

    public long getId(){
        return id;
    }

    public void setId(long id){
        this.id = id;
    }

    public long getCompanyId(){
        return companyId;
    }

    public void setCompanyId(long companyId){
        this.companyId = companyId;
    }

    public String getAccidentNo(){
        return accidentNo;
    }

    public void setAccidentNo(String accidentNo){
        this.accidentNo = accidentNo;
    }

    public String getAccidentName(){
        return accidentName;
    }

    public void setAccidentName(String accidentName){
        this.accidentName = accidentName;
    }

    public String getPosition(){
        return position;
    }

    public void setPosition(String position){
        this.position = position;
    }

    public String getHappenTime(){
        return happenTime;
    }

    public void setHappenTime(String happenTime){
        this.happenTime = happenTime;
    }

    public long getDepartmentId(){
        return departmentId;
    }

    public void setDepartmentId(long departmentId){
        this.departmentId = departmentId;
    }

    public String getBriefHistory(){
        return briefHistory;
    }

    public void setBriefHistory(String briefHistory){
        this.briefHistory = briefHistory;
    }

    public String getPersonSituation(){
        return personSituation;
    }

    public void setPersonSituation(String personSituation){
        this.personSituation = personSituation;
    }

    public String getOnSiteTreatment(){
        return onSiteTreatment;
    }

    public void setOnSiteTreatment(String onSiteTreatment){
        this.onSiteTreatment = onSiteTreatment;
    }

    public String getMeasuresTaken(){
        return measuresTaken;
    }

    public void setMeasuresTaken(String measuresTaken){
        this.measuresTaken = measuresTaken;
    }

    public String getAnnexUrls(){
        return annexUrls;
    }

    public void setAnnexUrls(String annexUrls){
        this.annexUrls = annexUrls;
    }

    public int getReviewStatus(){
        return reviewStatus;
    }

    public void setReviewStatus(int reviewStatus){
        this.reviewStatus = reviewStatus;
    }

    public int getHandleStatus(){
        return handleStatus;
    }

    public void setHandleStatus(int handleStatus){
        this.handleStatus = handleStatus;
    }

    public String getCreateTime(){
        return createTime;
    }

    public void setCreateTime(String createTime){
        this.createTime = createTime;
    }

    public long getCreator(){
        return creator;
    }

    public void setCreator(long creator){
        this.creator = creator;
    }

    public String getDepartmentName(){
        return departmentName;
    }

    public void setDepartmentName(String departmentName){
        this.departmentName = departmentName;
    }

    public String getCreatorName(){
        return creatorName;
    }

    public void setCreatorName(String creatorName){
        this.creatorName = creatorName;
    }

    public String getReviewStatusStr(){
        return reviewStatusStr;
    }

    public void setReviewStatusStr(String reviewStatusStr){
        this.reviewStatusStr = reviewStatusStr;
    }

    public String getHandleStatusStr(){
        return handleStatusStr;
    }

    public void setHandleStatusStr(String handleStatusStr){
        this.handleStatusStr = handleStatusStr;
    }

}
</pre>



<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
</body>
</html>